pragma Singleton

import QtQuick 6.2

// import QtQuick.Studio.Application
QtObject {
    readonly property int width: 800
    readonly property int height: 600

    property string relativeFontDirectory: "fonts"

    /* Edit this comment to add your custom font */
    readonly property font font: Qt.font({
                                             "family": Qt.application.font.family,
                                             "pixelSize": Qt.application.font.pixelSize
                                         })
    readonly property font largeFont: Qt.font({
                                                  "family": Qt.application.font.family,
                                                  "pixelSize": Qt.application.font.pixelSize * 1.6
                                              })

    readonly property color backgroundColor: "#EAEAEA"

    readonly property color green_success: "#4CAF50"

    readonly property color red_failed: "#E53935"

    readonly property color tooltip_text_color: "#161823"

    // property StudioApplication application: StudioApplication {
    //     fontPath: Qt.resolvedUrl("../../content/" + relativeFontDirectory)
    // }
}
